package com.ruoyi.manager.service;

import java.util.List;

import com.ruoyi.manager.domain.SoldierRetirement;

/**
 * 军休安置Service接口
 *
 * @author Allen
 * @date 2021-08-31
 */
public interface ISoldierRetirementService {
    /**
     * 查询军休安置
     *
     * @param id
     *         军休安置主键
     *
     * @return 军休安置
     */
    public SoldierRetirement selectSoldierRetirementById(Long id);

    /**
     * 查询军休安置列表
     *
     * @param soldierRetirement
     *         军休安置
     *
     * @return 军休安置集合
     */
    public List<SoldierRetirement> selectSoldierRetirementList(SoldierRetirement soldierRetirement);

    /**
     * 新增军休安置
     *
     * @param soldierRetirement
     *         军休安置
     *
     * @return 结果
     */
    public int insertSoldierRetirement(SoldierRetirement soldierRetirement);

    /**
     * 修改军休安置
     *
     * @param soldierRetirement
     *         军休安置
     *
     * @return 结果
     */
    public int updateSoldierRetirement(SoldierRetirement soldierRetirement);

    /**
     * 批量删除军休安置
     *
     * @param ids
     *         需要删除的军休安置主键集合
     *
     * @return 结果
     */
    public int deleteSoldierRetirementByIds(Long[] ids);

    /**
     * 删除军休安置信息
     *
     * @param id
     *         军休安置主键
     *
     * @return 结果
     */
    public int deleteSoldierRetirementById(Long id);

    /**
     * 审核军休安置信息
     *
     * @param id
     * @param auditStatus
     *
     * @return
     */
    int audit(Long id, Integer auditStatus);
}
